//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES OR INDEMNITIES.
//
//////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2003 Intrinsyc Europe Ltd.
//////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2004 Siemens AG
//
// Version: 1.1.2.5
// Date:    11. Jan. 2006
//////////////////////////////////////////////////////////////////////////////


#pragma once

#define DATA_ALLOC_NUMBER        16

//
// Connection speeds
//
static const DWORD g_rgdwConnSpeeds[] =
{
    -1,     // RIL_SPEED_UNKNOWN
    0,      // RIL_SPEED_AUTO
    1,      // RIL_SPEED_300_V21
    65,     // RIL_SPEED_300_V110
    2,      // RIL_SPEED_1200_V22
    3,      // RIL_SPEED_1200_75_V23
    66,     // RIL_SPEED_1200_V110
    34,     // RIL_SPEED_1200_V120
    4,      // RIL_SPEED_2400_V22BIS
    5,      // RIL_SPEED_2400_V26TER
    68,     // RIL_SPEED_2400_V110
    36,     // RIL_SPEED_2400_V120
    6,      // RIL_SPEED_4800_V32
    70,     // RIL_SPEED_4800_V110
    38,     // RIL_SPEED_4800_V120
    7,      // RIL_SPEED_9600_V32
    12,     // RIL_SPEED_9600_V34
    71,     // RIL_SPEED_9600_V110
    39,     // RIL_SPEED_9600_V120
    14,     // RIL_SPEED_14400_V34
    75,     // RIL_SPEED_14400_V110
    43,     // RIL_SPEED_14400_V120
    15,     // RIL_SPEED_19200_V34
    79,     // RIL_SPEED_19200_V110
    47,     // RIL_SPEED_19200_V120
    16,     // RIL_SPEED_28800_V34
    80,     // RIL_SPEED_28800_V110
    48,     // RIL_SPEED_28800_V120
    81,     // RIL_SPEED_38400_V110
    49,     // RIL_SPEED_38400_V120
    82,     // RIL_SPEED_48000_V110
    50,     // RIL_SPEED_48000_V120
    83,     // RIL_SPEED_56000_V110
    51,     // RIL_SPEED_56000_V120
    115,    // RIL_SPEED_56000_TRANSP
    116,    // RIL_SPEED_64000_TRANSP
};
#define NUM_CONNSPEEDS      (sizeof(g_rgdwConnSpeeds) / sizeof(DWORD))


HRESULT RILDrv_GetBearerServiceOptions(DWORD dwParam);
HRESULT RILDrv_SetBearerServiceOptions(DWORD dwParam, const RILBEARERSVCINFO* lpBearerServiceInfo);
HRESULT RILDrv_GetRLPOptions(DWORD dwParam);
HRESULT RILDrv_SetRLPOptions(DWORD dwParam, const RILRLPINFO* lpRlpInfo);

